/*
 * 文件名：NotifyRes.java
 * 版权：
 * 描述：TODO
 * 修改人：zuo liubo
 * 修改时间：2013-3-15 上午10:06:40
 */
package com.scpii.api.service.alipay.base;

import org.nuxeo.common.xmap.annotation.XNode;
import org.nuxeo.common.xmap.annotation.XObject;

/**
 * @description 支付宝通知返回数据格式
 * @author zuo liubo
 * @date 2013-3-15
 */
@XObject(value = "notify")
public class NotifyRes {

	@XNode(value = "subject")
	private String subject; // 商品名称
	
	@XNode(value = "quantity")
	private String quantity; // 数量
	@XNode(value = "total_fee")
	private String totalFee; // 总金额
	
	@XNode(value = "trade_no")
	private String tradeNo; //支付宝系统ID
	@XNode(value = "out_trade_no")
	private String orderSn; // 系统内部ID
	
	@XNode(value = "trade_status")
	private String tradeStatus; // 交易状态
	@XNode(value = "gmt_payment")
	private String gmtPayment; // 交易付款时间
	@XNode(value = "notify_id")
	private String notifyId; // 通知ID
	
	
	@XNode(value = "seller_id")
	private String sellerId; // 卖家账号
	@XNode(value="seller_email")
	private String sellerEmail; //卖家email
	
	@XNode(value = "buyer_email")
	private String buyerEmail; //买家EMAIL
	@XNode(value = "buyer_id")
	private String buyerId; // 买家支付宝账号

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public String getBuyerEmail() {
		return buyerEmail;
	}

	public void setBuyerEmail(String buyerEmail) {
		this.buyerEmail = buyerEmail;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}


	public String getOrderSn() {
		return orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public String getSellerId() {
		return sellerId;
	}

	public void setSellerId(String sellerId) {
		this.sellerId = sellerId;
	}

	public String getTradeStatus() {
		return tradeStatus;
	}

	public void setTradeStatus(String tradeStatus) {
		this.tradeStatus = tradeStatus;
	}

	public String getTotalFee() {
		return totalFee;
	}

	public void setTotalFee(String totalFee) {
		this.totalFee = totalFee;
	}

	public String getGmtPayment() {
		return gmtPayment;
	}

	public void setGmtPayment(String gmtPayment) {
		this.gmtPayment = gmtPayment;
	}

	public String getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}

	public String getNotifyId() {
		return notifyId;
	}

	public void setNotifyId(String notifyId) {
		this.notifyId = notifyId;
	}

	public String getTradeNo() {
		return tradeNo;
	}

	public void setTradeNo(String tradeNo) {
		this.tradeNo = tradeNo;
	}

	public String getSellerEmail() {
		return sellerEmail;
	}

	public void setSellerEmail(String sellerEmail) {
		this.sellerEmail = sellerEmail;
	}

}
